﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sped.Sped
{
    public static class Funcoes
    {
        public static bool StringIN(this string Origem, string Comparacao)
        {
            var Valores = Comparacao.Split('-');

            return (Array.BinarySearch(Valores, Origem) >= 0);
        }
    }
}
